const menu = require("./menu");
<<<<<<< HEAD
const addOption = require("../router/options/addOption");

async function addUI() {
  const select = await menu(Object.keys(addOption));
  goTo(select.text);
=======
const add = require("../functions/add");

async function addUI() {
  const options = {
    "添加单个商品信息": add,
  };

  const select = await menu(Object.keys(options));
  options[select.text]();
>>>>>>> 0cb24691c75d17ece043985f166f85fb01ebe08e
}

module.exports = addUI;
